<template>
	<div class="GmHeader">
		<div>
  			<span>作者：{{ savaHeader.author }}</span>
  			<span>发表时间：{{ savaHeader.createTime | filterTime }}</span>
  			<span>发布：{{ savaHeader.isRelease }}</span>
  			<span>阅读：{{ savaHeader.red_num }}</span>
  		</div>
	</div>
</template>

<script>
	import { mapGetters } from 'vuex'
	export default{
		data() {
			return {
				
			}
		},
		mounted(){

		},
		computed: {
			...mapGetters([
			  'savaHeader'
			])
		}
	}

</script>

<style lang="scss">
	@function rem($px){
	    @return ($px/75)+rem;
	}
	.GmHeader{
		div{
			background-color: #000;
		}
		span{
			line-height: rem(90);
			color:#fff;
		}
	}
</style>